from common.base_api import BaseAPI


class Token(BaseAPI):
    def token(self, data):
        body = self.request_send(data=data)
        return body


if __name__ == '__main__':
    login_data = {
        "number": "001",
        "username": "leo",
        "password": "jianxin"
    }
    res = Token().token(login_data)
    print(res)
